{% extends "baseLarge.html" %}

{% block fades %}
  fadeColor("largeBox","#000000",{{fgColor|safe}},5,10,'b');
  fadeColor("description","#000000",{{fgColor|safe}},5,10,'b');
  fadeColor("directions","#000000",{{fgColor|safe}},5,10,'b');
  fadeColor("button","#000000",{{fgColor|safe}},5,10,'b');
  fadeColor("name","#000000",{{fgColor|safe}},5,10,'b');
  fadeColor("year","#000000",{{fgColor|safe}},5,10,'b');
  fadeColor("heading","#000000","#898989",5,10,'f');
{% endblock %}

{% block javascript %}
function myUpdate(name, year, description)
{
document.getElementById('name').value=name;
document.getElementById('year').value=year;
document.getElementById('description').value=description;
document.getElementById('type').value=type;
}
{% endblock %}

{% block contentLarge %}
  <div id="myPar">
    <p>
    <table id="showWineTable">
      <tr>
        <td>Navn</td>
        <td>{{wine.name}}</td>
      </tr>
      <tr>
        <td>&Aring;rgang</td>
        <td>{{wine.year}}</td>
      </tr>
      <tr>
        <td>Type</td>
        <td>{{wine.wineType}}</td>
      </tr>
      <tr>
        <td>Beskrivelse</td>
        <td>{{wine.description}}</td>
      </tr>
    </table>
  </div>
{% endblock %}
